import {createRouter,createWebHashHistory} from 'vue-router'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {path:'/',redirect:'/home'},
        {path:'/home',name:'home',component:()=>import('./views/Home.vue')},
        {path:'/about',name:'about',component:()=>import('./views/About.vue')}
    ]
})

export default router 